package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
@ApiModel(value = "Car",description = "车辆")
public class Car {
    @ApiModelProperty("[主键]自动增长")
    private int id;
    @ApiModelProperty(value = "车牌")
    private String car_no;
    @ApiModelProperty(value = "车辆品牌")
    private Dictionary car_brand;
    @ApiModelProperty(value = "车辆型号")
    private Dictionary car_model;
    @ApiModelProperty(value = "车辆颜色")
    private Dictionary car_color;
    @ApiModelProperty(value = "载重")
    private float car_load;
    @ApiModelProperty(value = "座位数")
    private int car_seats;
    @ApiModelProperty(value = "油耗")
    private float oil_wear;
    @ApiModelProperty(value = "初始里程")
    private int init_mil;
    @ApiModelProperty(value = "保养里程")
    private int maintain_mil;
    @ApiModelProperty(value = "保养周期")
    private int maintain_period;
    @ApiModelProperty(value = "发动机号")
    private String engine_num;
    @ApiModelProperty(value = "车架号")
    private String frame_num;
    @ApiModelProperty(value = "供应商ID")
    private CurrentUnit sup_id;
    @ApiModelProperty(value = "购买价格")
    private float purchase_price;
    @ApiModelProperty(value = "购买日期")
    private Date purchase_date;
    @ApiModelProperty(value = "部门ID")
    private Dictionary dept_id;
    @ApiModelProperty(value = "状态")
    private Dictionary car_state;
    @ApiModelProperty(value = "备注")
    private String remarks;
    @ApiModelProperty(value = "是否停用，1、0")
    private int able;
}
